/**************************************************************************************************
* Title: SumGlobals.h
* Author: Gael Huber
* Description: Accessors and mutators for a set of global values.
**************************************************************************************************/
#ifndef __SUMGLOBALS_H__
#define __SUMGLOBALS_H__

#include <Windows.h>

// The duration of time a worker thread or the main thread should sleep for when waiting for a new task
#define THREAD_SLEEP_TIME 1

extern "C"
{
// Should the simulation be running
const bool GetRunSimulation(void);
void SetRunSimulation(const bool value);

// Application Instance
const HINSTANCE& GetHInstance(void);
void SetHInstance(const HINSTANCE& hInst);

// Current Window Handle
const HWND& GetHWND(void);
void SetHWND(const HWND& hW);
}

#endif